<template>
  <view class="home full-height" @click="jumpAuth">
    <u-image
      class="fixed-img"
      mode="scaleToFill"
      width="100%"
      height="100%"
      :src="`${host}/static/img${douyin}/1.png`"
    ></u-image>
	
	<!-- <u-image
	  class="fixed-img"
	  mode="widthFix"
	  src="https://cdn.zilean.vip/static/imgs/bg0.png"
	></u-image> -->
  </view>
</template>

<script>
var app = getApp();
export default {
  data() {
    return {
		host:app.globalData.host,
		douyin:app.globalData.douyin
	};
  },
  computed: {},
  methods: {
    jumpAuth() {
      uni.navigateTo({
        url: `/pages/project/auth/index`,
      });
    },
  },
  onShareAppMessage() {
  	return {
  		title: '测一测你声音的年龄',
  		path: '/pages/project/home/index',
  		imageUrl:'../../../static/sharelogo.jpg'
  	}
  },
  onShow() {
	  console.log("123124",this.host);
  }
};
</script>

<style lang="scss" scoped>
@import "./index.scss";
</style>
